import request from '@/api/request'

//数据列表
export function index(params) {
	return request({ url: '/app/OtherOut/index',method: 'post',data: params})
}



//修改排序开关
export function updateExt(params) {
	return request({ url: '/app/OtherOut/updateExt',method: 'post',data: params})
}



//添加
export function add(params) {
	return request({ url: '/app/OtherOut/add',method: 'post',data: params})
}



//修改
export function update(params) {
	return request({ url: '/app/OtherOut/update',method: 'post',data: params})
}

export function getUpdateInfo(params) {
	return request({ url: '/app/OtherOut/getUpdateInfo',method: 'post',data: params})
}



//删除
export function del(params) {
	return request({ url: '/app/OtherOut/delete',method: 'post',data: params})
}



//查看详情
export function detail(params) {
	return request({ url: '/app/OtherOut/detail',method: 'post',data: params})
}

//反审单据
export function unAudit(params) {
	return request({ url: '/app/OtherOut/unAudit',method: 'post',data: params})
}

//审核单据
export function audit(params) {
	return request({ url: '/app/OtherOut/audit',method: 'post',data: params})
}

//保存出库单
export function saveOther(params) {
	return request({ url: '/app/OtherOut/save_other',method: 'post',data: params})
}


//删除分录
export function deleteDetail(params) {
	return request({ url: '/app/OtherOut/delete_detail',method: 'post',data: params})
}
